package com.real.fact.web.sale.view;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.validation.Errors;

import com.globant.katari.core.spring.controller.SimpleFormCommandController;
import com.real.fact.web.sale.application.EditSellerCommand;

public abstract class EditSellerController extends SimpleFormCommandController {

  @SuppressWarnings("rawtypes")
  @Override
  protected Map referenceData(HttpServletRequest request, Object command,
      Errors errors) throws Exception {
    EditSellerCommand saveCommand = (EditSellerCommand) command;
    saveCommand.init();
    return super.referenceData(request, command, errors);
  }
  
}
